示例#1
0
文件: Form.php 项目: xincap/erp
 public function getContentDataAttribute($value)
 {
     $value = json_decode($value, true);
     if (!is_array($value)) {
         return \Qiniu\json_decode($value, true);
     }
     return $value;
 }
示例#2
0
 private static function bodyJson($body, array $config = array())
 {
     return \Qiniu\json_decode((string) $body, isset($config['object']) ? !$config['object'] : true, 512, isset($config['big_int_strings']) ? JSON_BIGINT_AS_STRING : 0);
 }
示例#3
0
 private static function bodyJson($body)
 {
     return \Qiniu\json_decode((string) $body, true, 512);
 }