转移字符串
This commit is contained in:
@@ -7,6 +7,7 @@ use App\Model\OrderPrescription;
|
||||
use App\Model\User;
|
||||
use App\Model\UserPharmacist;
|
||||
use App\Model\UserPharmacistInfo;
|
||||
use Hyperf\DbConnection\Db;
|
||||
|
||||
/**
|
||||
* 药师
|
||||
@@ -157,7 +158,21 @@ class UserPharmacistService extends BaseService
|
||||
return fail(HttpEnumCode::HTTP_ERROR,"处方已审核,请勿重复审核");
|
||||
}
|
||||
|
||||
//
|
||||
Db::beginTransaction();
|
||||
|
||||
try {
|
||||
// 修改处方审核状态
|
||||
$data = array();
|
||||
|
||||
Db::commit();
|
||||
} catch (\Exception $e) {
|
||||
Db::rollBack();
|
||||
return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage());
|
||||
}
|
||||
|
||||
// 新增商品订单表
|
||||
// 新增商品订单明细表
|
||||
// 新增未支付取消订单队列
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user