|
@@ -43,6 +43,8 @@ class Purchase extends Controller
|
|
|
* @return void
|
|
|
*/
|
|
|
public function purchase_order(\think\Validate $validate,Request $request){
|
|
|
+ $request->offsetSet('images',json_decode($request['images'])?:[]);
|
|
|
+ $request->offsetSet('item',json_decode($request['item'])?:[]);
|
|
|
$admin_id = $this->uuid();
|
|
|
$data=$this->_vali([
|
|
|
'real_name.require'=>'联系人不能为空',
|