|
@@ -164,7 +164,11 @@ class MobileMember extends MobileHome
|
|
|
}
|
|
|
curl_setopt($curl, CURLOPT_POSTFIELDS, $bodys);
|
|
|
$res = curl_exec($curl);
|
|
|
- return json_decode($res,true);
|
|
|
+ $data = json_decode($res,true);
|
|
|
+ if ($data['code'] == 1001) {
|
|
|
+ $data['msg'] = '请上传合法营业执照照片';
|
|
|
+ }
|
|
|
+ return $data;
|
|
|
}
|
|
|
|
|
|
public function getNegative()
|